package com.bdzl.pub.entity.flow;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;



/**
 * 工作流节点下一节点信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-12 10:14:58
 */
@Data
public class ActNodeNextDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键 ID，自增
	private Integer annId;
	//下一步说明/名称
	@NotNull(message = "下一节点不能为空！")
	private String annName;
	//当前节点编号，外键
	private String annNodeNow;
	//下一节点编号，外键
	@NotNull(message = "下一节点不能为空！")
	private String annNodeNext;
	//下一步对应的订单状态
	@NotNull(message = "下一步对应的订单状态不能为空！")
	private String annNextOdrVal;
	//进行下一节点条件公式
	private String annFormula;
	//进行下一节点前的中间状态
	private String annType;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date annCretime;
}
